package com.xh.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Name TestController
 * @Description
 * @Author wen
 * @Date 2019-07-31
 */
@Controller
public class IndexController {

    @GetMapping("/index")
    @ResponseBody
    public String index(){
        return "hellow spring annotation dev!";
    }

}
